package sg.edu.nus.iss.jass.gui.component;

import java.awt.Font;

import javax.swing.JLabel;

/**
 * <h5>TitleLabel to show the Title on the Form </h5>
 *  This class is customized for showing title label on the form 
 *  by specifying the size of the label text.
 * 
 * @author Kafoor Sammil
 * 
 */
public class TitleLabel extends JLabel {

	/**
	 * 
	 */
	private static final long serialVersionUID = 4622266387793772336L;
	
	/**
	 * Constructor to create the TitleLabel Object .
	 * @param text
	 *            string to create the TitleLabel Object. 
	 */
	public TitleLabel(String text){
		super(text);
		Font f = new Font("Arial", Font.BOLD, 15);
		this.setFont(f);
		
	}
	
}
